package com.topisv.tms.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "backup_task_ordeno")
public class BackupTaskOrdeno extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String pickStatus;//装箱状态
	@Column(name="pick_status")
	public String getPickStatus() {
		return pickStatus;
	}
	public void setPickStatus(String pickStatus) {
		this.pickStatus = pickStatus;
	}
	private String waybillNo;//能容运单号
	
	@Column(name="waybill_no")
	public String getWaybillNo() {
		return waybillNo;
	}
	public void setWaybillNo(String waybillNo) {
		this.waybillNo = waybillNo;
	}
	private String status;//订单状态
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	private String batchTaskCode;// varchar(20) NOT NULL COMMENT '批次任务编号',
	@Column(name="batch_task_code")
	public String getBatchTaskCode() {
		return batchTaskCode;
	}
	public void setBatchTaskCode(String batchTaskCode) {
		this.batchTaskCode = batchTaskCode;
	}
	private int skuQty;//商品数量
	@Column(name="sku_qty")
	public int getSkuQty() {
		return skuQty;
	}
	public void setSkuQty(int skuQty) {
		this.skuQty = skuQty;
	}

	private String backupTaskCode;// varchar(20) NOT NULL COMMENT '备货任务编号',
	private String batchCode;//出库批次编号
	@Column(name="batch_code")
	public String getBatchCode() {
		return batchCode;
	}
	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	@Column(name = "backup_task_code")
	public String getBackupTaskCode() {
		return backupTaskCode;
	}

	public void setBackupTaskCode(String backupTaskCode) {
		this.backupTaskCode = backupTaskCode;
	}

	public String getOrdeno() {
		return ordeno;
	}

	public void setOrdeno(String ordeno) {
		this.ordeno = ordeno;
	}

	private String ordeno;// varchar(64) NOT NULL COMMENT '订单号',
	
	private List<EdiOrderItem> orderItems;
	
	@Transient
	public List<EdiOrderItem> getOrderItems() {
		return orderItems;
	}
	public void setOrderItems(List<EdiOrderItem> orderItems) {
		this.orderItems = orderItems;
	}
	
	private int rankno;
	
	public int getRankno() {
		return rankno;
	}
	public void setRankno(int rankno) {
		this.rankno = rankno;
	}
	
	private String stockInfo;
	
	
	public String getStockInfo() {
		return stockInfo;
	}
	public void setStockInfo(String stockInfo) {
		this.stockInfo = stockInfo;
	}
	
}
